static int th_len[6] = { 107, 103, 103, 131, 127, 133 };

static struct {
   int count;
   int line;
   float bark;
   float hear;
} th_tab[6][132] = {
{
{1,1,0.850,25.87},
{2,2,1.694,14.85},
{3,3,2.525,10.72},
{4,4,3.337,8.50},
{5,5,4.124,7.10},
{6,6,4.882,6.11},
{7,7,5.608,5.37},
{8,8,6.301,4.79},
{9,9,6.959,4.32},
{10,10,7.581,3.92},
{11,11,8.169,3.57},
{12,12,8.723,3.25},
{13,13,9.244,2.95},
{14,14,9.734,2.67},
{15,15,10.195,2.39},
{16,16,10.629,2.11},
{17,17,11.037,1.83},
{18,18,11.421,1.53},
{19,19,11.783,1.23},
{20,20,12.125,0.90},
{21,21,12.448,0.56},
{22,22,12.753,0.21},
{23,23,13.042,-0.17},
{24,24,13.317,-0.56},
{25,25,13.578,-0.96},
{26,26,13.826,-1.38},
{27,27,14.062,-1.79},
{28,28,14.288,-2.21},
{29,29,14.504,-2.63},
{30,30,14.711,-3.03},
{31,31,14.909,-3.41},
{32,32,15.100,-3.77},
{33,33,15.284,-4.09},
{34,34,15.460,-4.37},
{35,35,15.631,-4.60},
{36,36,15.796,-4.78},
{37,37,15.955,-4.91},
{38,38,16.110,-4.97},
{39,39,16.260,-4.98},
{40,40,16.406,-4.92},
{41,41,16.547,-4.81},
{42,42,16.685,-4.65},
{43,43,16.820,-4.43},
{44,44,16.951,-4.17},
{45,45,17.079,-3.87},
{46,46,17.205,-3.54},
{47,47,17.327,-3.19},
{48,48,17.447,-2.82},
{49,50,17.680,-2.06},
{50,52,17.905,-1.32},
{51,54,18.121,-0.64},
{52,56,18.331,-0.04},
{53,58,18.534,0.47},
{54,60,18.731,0.89},
{55,62,18.922,1.23},
{56,64,19.108,1.51},
{57,66,19.289,1.74},
{58,68,19.464,1.93},
{59,70,19.635,2.11},
{60,72,19.801,2.28},
{61,74,19.963,2.46},
{62,76,20.120,2.63},
{63,78,20.273,2.82},
{64,80,20.421,3.03},
{65,82,20.565,3.25},
{66,84,20.705,3.49},
{67,86,20.840,3.74},
{68,88,20.972,4.02},
{69,90,21.099,4.32},
{70,92,21.222,4.64},
{71,94,21.342,4.98},
{72,96,21.457,5.35},
{73,100,21.677,6.15},
{74,104,21.882,7.07},
{75,108,22.074,8.10},
{76,112,22.253,9.25},
{77,116,22.420,10.54},
{78,120,22.576,11.97},
{79,124,22.721,13.56},
{80,128,22.857,15.31},
{81,132,22.984,17.23},
{82,136,23.102,19.34},
{83,140,23.213,21.64},
{84,144,23.317,24.15},
{85,148,23.415,26.88},
{86,152,23.506,29.84},
{87,156,23.592,33.05},
{88,160,23.673,36.52},
{89,164,23.749,40.25},
{90,168,23.821,44.27},
{91,172,23.888,48.59},
{92,176,23.952,53.22},
{93,180,24.013,58.18},
{94,184,24.070,63.49},
{95,188,24.125,68.00},
{96,192,24.176,68.00},
{97,196,24.225,68.00},
{98,200,24.271,68.00},
{99,204,24.316,68.00},
{100,208,24.358,68.00},
{101,212,24.398,68.00},
{102,216,24.436,68.00},
{103,220,24.473,68.00},
{104,224,24.508,68.00},
{105,228,24.542,68.00},
{106,232,24.574,68.00},
},
{
{1,1,0.925,24.17},
{2,2,1.842,13.87},
{3,3,2.742,10.01},
{4,4,3.618,7.94},
{5,5,4.463,6.62},
{6,6,5.272,5.70},
{7,7,6.041,5.00},
{8,8,6.770,4.45},
{9,9,7.457,4.00},
{10,10,8.103,3.61},
{11,11,8.708,3.26},
{12,12,9.275,2.93},
{13,13,9.805,2.63},
{14,14,10.301,2.32},
{15,15,10.765,2.02},
{16,16,11.199,1.71},
{17,17,11.606,1.38},
{18,18,11.988,1.04},
{19,19,12.347,0.67},
{20,20,12.684,0.29},
{21,21,13.002,-0.11},
{22,22,13.302,-0.54},
{23,23,13.586,-0.97},
{24,24,13.855,-1.43},
{25,25,14.111,-1.88},
{26,26,14.354,-2.34},
{27,27,14.585,-2.79},
{28,28,14.807,-3.22},
{29,29,15.018,-3.62},
{30,30,15.221,-3.98},
{31,31,15.415,-4.30},
{32,32,15.602,-4.57},
{33,33,15.783,-4.77},
{34,34,15.956,-4.91},
{35,35,16.124,-4.98},
{36,36,16.287,-4.97},
{37,37,16.445,-4.90},
{38,38,16.598,-4.76},
{39,39,16.746,-4.55},
{40,40,16.891,-4.29},
{41,41,17.032,-3.99},
{42,42,17.169,-3.64},
{43,43,17.303,-3.26},
{44,44,17.434,-2.86},
{45,45,17.563,-2.45},
{46,46,17.688,-2.04},
{47,47,17.811,-1.63},
{48,48,17.932,-1.24},
{49,50,18.166,-0.51},
{50,52,18.392,0.12},
{51,54,18.611,0.64},
{52,56,18.823,1.06},
{53,58,19.028,1.39},
{54,60,19.226,1.66},
{55,62,19.419,1.88},
{56,64,19.606,2.08},
{57,66,19.788,2.27},
{58,68,19.964,2.46},
{59,70,20.135,2.65},
{60,72,20.300,2.86},
{61,74,20.461,3.09},
{62,76,20.616,3.33},
{63,78,20.766,3.60},
{64,80,20.912,3.89},
{65,82,21.052,4.20},
{66,84,21.188,4.54},
{67,86,21.318,4.91},
{68,88,21.445,5.31},
{69,90,21.567,5.73},
{70,92,21.684,6.18},
{71,94,21.797,6.67},
{72,96,21.906,7.19},
{73,100,22.113,8.33},
{74,104,22.304,9.63},
{75,108,22.482,11.08},
{76,112,22.646,12.71},
{77,116,22.799,14.53},
{78,120,22.941,16.54},
{79,124,23.072,18.77},
{80,128,23.195,21.23},
{81,132,23.309,23.94},
{82,136,23.415,26.90},
{83,140,23.515,30.14},
{84,144,23.607,33.67},
{85,148,23.694,37.51},
{86,152,23.775,41.67},
{87,156,23.852,46.17},
{88,160,23.923,51.04},
{89,164,23.991,56.29},
{90,168,24.054,61.94},
{91,172,24.114,68.00},
{92,176,24.171,68.00},
{93,180,24.224,68.00},
{94,184,24.275,68.00},
{95,188,24.322,68.00},
{96,192,24.368,68.00},
{97,196,24.411,68.00},
{98,200,24.452,68.00},
{99,204,24.491,68.00},
{100,208,24.528,68.00},
{101,212,24.564,68.00},
{102,216,24.597,68.00},
},
{
{1,1,0.925,24.17},
{2,2,1.842,13.87},
{3,3,2.742,10.01},
{4,4,3.618,7.94},
{5,5,4.463,6.62},
{6,6,5.272,5.70},
{7,7,6.041,5.00},
{8,8,6.770,4.45},
{9,9,7.457,4.00},
{10,10,8.103,3.61},
{11,11,8.708,3.26},
{12,12,9.275,2.93},
{13,13,9.805,2.63},
{14,14,10.301,2.32},
{15,15,10.765,2.02},
{16,16,11.199,1.71},
{17,17,11.606,1.38},
{18,18,11.988,1.04},
{19,19,12.347,0.67},
{20,20,12.684,0.29},
{21,21,13.002,-0.11},
{22,22,13.302,-0.54},
{23,23,13.586,-0.97},
{24,24,13.855,-1.43},
{25,25,14.111,-1.88},
{26,26,14.354,-2.34},
{27,27,14.585,-2.79},
{28,28,14.807,-3.22},
{29,29,15.018,-3.62},
{30,30,15.221,-3.98},
{31,31,15.415,-4.30},
{32,32,15.602,-4.57},
{33,33,15.783,-4.77},
{34,34,15.956,-4.91},
{35,35,16.124,-4.98},
{36,36,16.287,-4.97},
{37,37,16.445,-4.90},
{38,38,16.598,-4.76},
{39,39,16.746,-4.55},
{40,40,16.891,-4.29},
{41,41,17.032,-3.99},
{42,42,17.169,-3.64},
{43,43,17.303,-3.26},
{44,44,17.434,-2.86},
{45,45,17.563,-2.45},
{46,46,17.688,-2.04},
{47,47,17.811,-1.63},
{48,48,17.932,-1.24},
{49,50,18.166,-0.51},
{50,52,18.392,0.12},
{51,54,18.611,0.64},
{52,56,18.823,1.06},
{53,58,19.028,1.39},
{54,60,19.226,1.66},
{55,62,19.419,1.88},
{56,64,19.606,2.08},
{57,66,19.788,2.27},
{58,68,19.964,2.46},
{59,70,20.135,2.65},
{60,72,20.300,2.86},
{61,74,20.461,3.09},
{62,76,20.616,3.33},
{63,78,20.766,3.60},
{64,80,20.912,3.89},
{65,82,21.052,4.20},
{66,84,21.188,4.54},
{67,86,21.318,4.91},
{68,88,21.445,5.31},
{69,90,21.567,5.73},
{70,92,21.684,6.18},
{71,94,21.797,6.67},
{72,96,21.906,7.19},
{73,100,22.113,8.33},
{74,104,22.304,9.63},
{75,108,22.482,11.08},
{76,112,22.646,12.71},
{77,116,22.799,14.53},
{78,120,22.941,16.54},
{79,124,23.072,18.77},
{80,128,23.195,21.23},
{81,132,23.309,23.94},
{82,136,23.415,26.90},
{83,140,23.515,30.14},
{84,144,23.607,33.67},
{85,148,23.694,37.51},
{86,152,23.775,41.67},
{87,156,23.852,46.17},
{88,160,23.923,51.04},
{89,164,23.991,56.29},
{90,168,24.054,61.94},
{91,172,24.114,68.00},
{92,176,24.171,68.00},
{93,180,24.224,68.00},
{94,184,24.275,68.00},
{95,188,24.322,68.00},
{96,192,24.368,68.00},
{97,196,24.411,68.00},
{98,200,24.452,68.00},
{99,204,24.491,68.00},
{100,208,24.528,68.00},
{101,212,24.564,68.00},
{102,216,24.597,68.00},
},
{
{1,1,0.425,45.05},
{2,2,0.850,25.87},
{3,3,1.273,18.70},
{4,4,1.694,14.85},
{5,5,2.112,12.41},
{6,6,2.525,10.72},
{7,7,2.934,9.47},
{8,8,3.337,8.50},
{9,9,3.733,7.73},
{10,10,4.124,7.10},
{11,11,4.507,6.56},
{12,12,4.882,6.11},
{13,13,5.249,5.72},
{14,14,5.608,5.37},
{15,15,5.959,5.07},
{16,16,6.301,4.79},
{17,17,6.634,4.55},
{18,18,6.959,4.32},
{19,19,7.274,4.11},
{20,20,7.581,3.92},
{21,21,7.879,3.74},
{22,22,8.169,3.57},
{23,23,8.450,3.40},
{24,24,8.723,3.25},
{25,25,8.987,3.10},
{26,26,9.244,2.95},
{27,27,9.493,2.81},
{28,28,9.734,2.67},
{29,29,9.968,2.53},
{30,30,10.195,2.39},
{31,31,10.416,2.25},
{32,32,10.629,2.11},
{33,33,10.836,1.97},
{34,34,11.037,1.83},
{35,35,11.232,1.68},
{36,36,11.421,1.53},
{37,37,11.605,1.38},
{38,38,11.783,1.23},
{39,39,11.957,1.07},
{40,40,12.125,0.90},
{41,41,12.289,0.74},
{42,42,12.448,0.56},
{43,43,12.603,0.39},
{44,44,12.753,0.21},
{45,45,12.900,0.02},
{46,46,13.042,-0.17},
{47,47,13.181,-0.36},
{48,48,13.317,-0.56},
{49,50,13.577,-0.96},
{50,52,13.826,-1.38},
{51,54,14.062,-1.79},
{52,56,14.288,-2.21},
{53,58,14.504,-2.63},
{54,60,14.711,-3.03},
{55,62,14.909,-3.41},
{56,64,15.100,-3.77},
{57,66,15.284,-4.09},
{58,68,15.460,-4.37},
{59,70,15.631,-4.60},
{60,72,15.796,-4.78},
{61,74,15.955,-4.91},
{62,76,16.110,-4.97},
{63,78,16.260,-4.98},
{64,80,16.406,-4.92},
{65,82,16.547,-4.81},
{66,84,16.685,-4.65},
{67,86,16.820,-4.43},
{68,88,16.951,-4.17},
{69,90,17.079,-3.87},
{70,92,17.205,-3.54},
{71,94,17.327,-3.19},
{72,96,17.447,-2.82},
{73,100,17.680,-2.06},
{74,104,17.905,-1.32},
{75,108,18.121,-0.64},
{76,112,18.331,-0.04},
{77,116,18.534,0.47},
{78,120,18.731,0.89},
{79,124,18.922,1.23},
{80,128,19.108,1.51},
{81,132,19.289,1.74},
{82,136,19.464,1.93},
{83,140,19.635,2.11},
{84,144,19.801,2.28},
{85,148,19.963,2.46},
{86,152,20.120,2.63},
{87,156,20.273,2.82},
{88,160,20.421,3.03},
{89,164,20.565,3.25},
{90,168,20.705,3.49},
{91,172,20.840,3.74},
{92,176,20.972,4.02},
{93,180,21.099,4.32},
{94,184,21.222,4.64},
{95,188,21.342,4.98},
{96,192,21.457,5.35},
{97,200,21.677,6.15},
{98,208,21.882,7.07},
{99,216,22.074,8.10},
{100,224,22.253,9.25},
{101,232,22.420,10.54},
{102,240,22.576,11.97},
{103,248,22.721,13.56},
{104,256,22.857,15.31},
{105,264,22.984,17.23},
{106,272,23.102,19.34},
{107,280,23.213,21.64},
{108,288,23.317,24.15},
{109,296,23.415,26.88},
{110,304,23.506,29.84},
{111,312,23.592,33.05},
{112,320,23.673,36.52},
{113,328,23.749,40.25},
{114,336,23.821,44.27},
{115,344,23.888,48.59},
{116,352,23.952,53.22},
{117,360,24.013,58.18},
{118,368,24.070,63.49},
{119,376,24.125,68.00},
{120,384,24.176,68.00},
{121,392,24.225,68.00},
{122,400,24.271,68.00},
{123,408,24.316,68.00},
{124,416,24.358,68.00},
{125,424,24.398,68.00},
{126,432,24.436,68.00},
{127,440,24.473,68.00},
{128,448,24.508,68.00},
{129,456,24.542,68.00},
{130,464,24.574,68.00},
},
{
{1,1,0.463,42.10},
{2,2,0.925,24.17},
{3,3,1.385,17.47},
{4,4,1.842,13.87},
{5,5,2.295,11.60},
{6,6,2.742,10.01},
{7,7,3.184,8.84},
{8,8,3.618,7.94},
{9,9,4.045,7.22},
{10,10,4.463,6.62},
{11,11,4.872,6.12},
{12,12,5.272,5.70},
{13,13,5.661,5.33},
{14,14,6.041,5.00},
{15,15,6.411,4.71},
{16,16,6.770,4.45},
{17,17,7.119,4.21},
{18,18,7.457,4.00},
{19,19,7.785,3.79},
{20,20,8.103,3.61},
{21,21,8.410,3.43},
{22,22,8.708,3.26},
{23,23,8.996,3.09},
{24,24,9.275,2.93},
{25,25,9.544,2.78},
{26,26,9.805,2.63},
{27,27,10.057,2.47},
{28,28,10.301,2.32},
{29,29,10.537,2.17},
{30,30,10.765,2.02},
{31,31,10.986,1.86},
{32,32,11.199,1.71},
{33,33,11.406,1.55},
{34,34,11.606,1.38},
{35,35,11.800,1.21},
{36,36,11.988,1.04},
{37,37,12.170,0.86},
{38,38,12.347,0.67},
{39,39,12.518,0.49},
{40,40,12.684,0.29},
{41,41,12.845,0.09},
{42,42,13.002,-0.11},
{43,43,13.154,-0.32},
{44,44,13.302,-0.54},
{45,45,13.446,-0.75},
{46,46,13.586,-0.97},
{47,47,13.723,-1.20},
{48,48,13.855,-1.43},
{49,50,14.111,-1.88},
{50,52,14.354,-2.34},
{51,54,14.585,-2.79},
{52,56,14.807,-3.22},
{53,58,15.018,-3.62},
{54,60,15.221,-3.98},
{55,62,15.415,-4.30},
{56,64,15.602,-4.57},
{57,66,15.783,-4.77},
{58,68,15.956,-4.91},
{59,70,16.124,-4.98},
{60,72,16.287,-4.97},
{61,74,16.445,-4.90},
{62,76,16.598,-4.76},
{63,78,16.746,-4.55},
{64,80,16.891,-4.29},
{65,82,17.032,-3.99},
{66,84,17.169,-3.64},
{67,86,17.303,-3.26},
{68,88,17.434,-2.86},
{69,90,17.563,-2.45},
{70,92,17.688,-2.04},
{71,94,17.811,-1.63},
{72,96,17.932,-1.24},
{73,100,18.166,-0.51},
{74,104,18.392,0.12},
{75,108,18.611,0.64},
{76,112,18.823,1.06},
{77,116,19.028,1.39},
{78,120,19.226,1.66},
{79,124,19.419,1.88},
{80,128,19.606,2.08},
{81,132,19.788,2.27},
{82,136,19.964,2.46},
{83,140,20.135,2.65},
{84,144,20.300,2.86},
{85,148,20.461,3.09},
{86,152,20.616,3.33},
{87,156,20.766,3.60},
{88,160,20.912,3.89},
{89,164,21.052,4.20},
{90,168,21.188,4.54},
{91,172,21.318,4.91},
{92,176,21.445,5.31},
{93,180,21.567,5.73},
{94,184,21.684,6.18},
{95,188,21.797,6.67},
{96,192,21.906,7.19},
{97,200,22.113,8.33},
{98,208,22.304,9.63},
{99,216,22.482,11.08},
{100,224,22.646,12.71},
{101,232,22.799,14.53},
{102,240,22.941,16.54},
{103,248,23.072,18.77},
{104,256,23.195,21.23},
{105,264,23.309,23.94},
{106,272,23.415,26.90},
{107,280,23.515,30.14},
{108,288,23.607,33.67},
{109,296,23.694,37.51},
{110,304,23.775,41.67},
{111,312,23.852,46.17},
{112,320,23.923,51.04},
{113,328,23.991,56.29},
{114,336,24.054,61.94},
{115,344,24.114,68.00},
{116,352,24.171,68.00},
{117,360,24.224,68.00},
{118,368,24.275,68.00},
{119,376,24.322,68.00},
{120,384,24.368,68.00},
{121,392,24.411,68.00},
{122,400,24.452,68.00},
{123,408,24.491,68.00},
{124,416,24.528,68.00},
{125,424,24.564,68.00},
{126,432,24.597,68.00},
},
{
{1,1,0.309,58.23},
{2,2,0.617,33.44},
{3,3,0.925,24.17},
{4,4,1.232,19.20},
{5,5,1.538,16.05},
{6,6,1.842,13.87},
{7,7,2.145,12.26},
{8,8,2.445,11.01},
{9,9,2.742,10.01},
{10,10,3.037,9.20},
{11,11,3.329,8.52},
{12,12,3.618,7.94},
{13,13,3.903,7.44},
{14,14,4.185,7.00},
{15,15,4.463,6.62},
{16,16,4.736,6.28},
{17,17,5.006,5.97},
{18,18,5.272,5.70},
{19,19,5.533,5.44},
{20,20,5.789,5.21},
{21,21,6.041,5.00},
{22,22,6.289,4.80},
{23,23,6.532,4.62},
{24,24,6.770,4.45},
{25,25,7.004,4.29},
{26,26,7.233,4.14},
{27,27,7.457,4.00},
{28,28,7.677,3.86},
{29,29,7.892,3.73},
{30,30,8.103,3.61},
{31,31,8.309,3.49},
{32,32,8.511,3.37},
{33,33,8.708,3.26},
{34,34,8.901,3.15},
{35,35,9.090,3.04},
{36,36,9.275,2.93},
{37,37,9.456,2.83},
{38,38,9.632,2.73},
{39,39,9.805,2.63},
{40,40,9.974,2.53},
{41,41,10.139,2.42},
{42,42,10.301,2.32},
{43,43,10.459,2.22},
{44,44,10.614,2.12},
{45,45,10.765,2.02},
{46,46,10.913,1.92},
{47,47,11.058,1.81},
{48,48,11.199,1.71},
{49,50,11.474,1.49},
{50,52,11.736,1.27},
{51,54,11.988,1.04},
{52,56,12.230,0.80},
{53,58,12.461,0.55},
{54,60,12.684,0.29},
{55,62,12.898,0.02},
{56,64,13.104,-0.25},
{57,66,13.302,-0.54},
{58,68,13.493,-0.83},
{59,70,13.678,-1.12},
{60,72,13.855,-1.43},
{61,74,14.027,-1.73},
{62,76,14.193,-2.04},
{63,78,14.354,-2.34},
{64,80,14.509,-2.64},
{65,82,14.660,-2.93},
{66,84,14.807,-3.22},
{67,86,14.949,-3.49},
{68,88,15.087,-3.74},
{69,90,15.221,-3.98},
{70,92,15.351,-4.20},
{71,94,15.478,-4.40},
{72,96,15.602,-4.57},
{73,100,15.841,-4.82},
{74,104,16.069,-4.96},
{75,108,16.287,-4.97},
{76,112,16.496,-4.86},
{77,116,16.697,-4.63},
{78,120,16.891,-4.29},
{79,124,17.078,-3.87},
{80,128,17.259,-3.39},
{81,132,17.434,-2.86},
{82,136,17.605,-2.31},
{83,140,17.770,-1.77},
{84,144,17.932,-1.24},
{85,148,18.089,-0.74},
{86,152,18.242,-0.29},
{87,156,18.392,0.12},
{88,160,18.539,0.48},
{89,164,18.682,0.79},
{90,168,18.823,1.06},
{91,172,18.960,1.29},
{92,176,19.095,1.49},
{93,180,19.226,1.66},
{94,184,19.356,1.81},
{95,188,19.482,1.95},
{96,192,19.606,2.08},
{97,200,19.847,2.33},
{98,208,20.079,2.59},
{99,216,20.300,2.86},
{100,224,20.513,3.17},
{101,232,20.717,3.51},
{102,240,20.912,3.89},
{103,248,21.098,4.31},
{104,256,21.275,4.79},
{105,264,21.445,5.31},
{106,272,21.606,5.88},
{107,280,21.760,6.50},
{108,288,21.906,7.19},
{109,296,22.046,7.93},
{110,304,22.178,8.75},
{111,312,22.304,9.63},
{112,320,22.424,10.58},
{113,328,22.538,11.60},
{114,336,22.646,12.71},
{115,344,22.749,13.90},
{116,352,22.847,15.18},
{117,352,22.941,16.54},
{118,368,23.030,18.01},
{119,376,23.114,19.57},
{120,384,23.195,21.23},
{121,382,23.272,23.01},
{122,400,23.345,24.90},
{123,408,23.415,26.90},
{124,416,23.482,29.03},
{125,424,23.546,31.28},
{126,432,23.607,33.67},
{127,440,23.666,36.19},
{128,448,23.722,38.86},
{129,456,23.775,41.67},
{130,464,23.827,44.63},
{131,472,23.876,47.76},
{132,480,23.923,51.04},
} };
